<template>
  <div>
    回顾使用插槽
    <use-slot>
      <!-- 具名插槽 -->
      <template v-slot:title>标题</template>
      <template v-slot:content>内容</template>
      <template v-slot:a="{rows}">
        {{rows}}
      </template>
    </use-slot>
  </div>
</template>

<script>
import useSlot from '@/components/useSlot'

export default {
  name: 'Demo',
  components: {
    useSlot
  }
}
</script>

<style lang="less" scoped>
</style>